import sys

from stars_class import Stars

def delete ( liwe, id = 0 ):
	"""
	:INPUT:
		- id	SAFE_DB_NUMBER
	"""

	s = Stars ( liwe )
	s.del_rank ( id )

def get_modules ( liwe, id_site = 0 ): 
	"""
	:INPUT:
	"""
	s = Stars ( liwe )
	mods = s.get_modules ( id_site )
	if not mods :
		mods = []
	return { "modules" : mods }
